<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Pedido
 *
 * @author Pablo
 */
class Pedido {
    private $id = 0;
    private $numero = "";
    private $cliente = null;
    private $endereco = null;
    private $subtotal = 0.00;
    private $frete = 0.00;
    private $total = 0.00;
    private $datainclusao = "";
    private $status = 0;
    
    public function getId() {
        return $this->id;
    }

    public function getNumero() {
        return $this->numero;
    }

    public function getCliente() {
        return $this->cliente;
    }

    public function getEndereco() {
        return $this->endereco;
    }

    public function getSubtotal() {
        return $this->subtotal;
    }

    public function getFrete() {
        return $this->frete;
    }

    public function getTotal() {
        return $this->total;
    }

    public function getDatainclusao() {
        return $this->datainclusao;
    }

    public function getStatus() {
        return $this->status;
    }

    public function setId($id) {
        $this->id = $id;
        return $this;
    }

    public function setNumero($numero) {
        $this->numero = $numero;
        return $this;
    }

    public function setCliente($cliente) {
        $this->cliente = $cliente;
        return $this;
    }

    public function setEndereco($endereco) {
        $this->endereco = $endereco;
        return $this;
    }

    public function setSubtotal($subtotal) {
        $this->subtotal = $subtotal;
        return $this;
    }

    public function setFrete($frete) {
        $this->frete = $frete;
        return $this;
    }

    public function setTotal($total) {
        $this->total = $total;
        return $this;
    }

    public function setDatainclusao($datainclusao) {
        $this->datainclusao = $datainclusao;
        return $this;
    }

    public function setStatus($status) {
        $this->status = $status;
        return $this;
    }


}
